# 用户的专辑
# 在为完成练习8-7编写的程序中，编写一个while 循环，让用户输入专辑的歌手和名称

def make_album(singer, album):
    return {'Singer': singer, 'Album': album}


while True:
    print("\n Type 'q' to quit.")
    singer = input("Singer name: ")
    if singer == 'q':
        break
    album = input("Album name: ")
    if album == 'q':
        break

    print(make_album(singer, album))
